import request from "@/request";
import { POST } from "@/constant";

export const getBusiness = (data) => {
  return request({
    url: "/xiangmuprice/index",
    data,
    method: POST,
  });
};
// 业务中心
export const getBusinessList = (data) =>{
  return  request({
    url:"/xiangmuprice/xiangmuprice",
    data,
    method: POST,
  })
}
// 获取所有阶段款项id
export const getBusinessId = (data) =>{
  return  request({
    url:"/xiangmuprice/getallkuanxiang",
    data,
    method: POST,
  })
}
// 添加款项
export const addBusiness = (data) =>{
  return request({
    url:"/xiangmuprice/addgenjinprice",
    data,
    method: POST,
  })
}
// 删除款项
export const delBusiness = (data) =>{
  return request({
    url:"/xiangmuprice/deljiesuan",
    data,
    method: POST,
  })
}

// 结款账户列表
export const settlementList = (data) =>{
  return request({
    url:"/xiangmuprice/jiekuanzhanghulist",
    data,
    method: POST,
  })
}
// 项目的客户信息
export const xiangmukehu = (data) =>{
  return request({
    url:"/xiangmuprice/xiangmukehu",
    data,
    method: POST,
  })
}

// 异常反馈
export const feedbackList = (data) =>{
  return request({
    url:"/yewuyichang/list",
    data,
    method: POST,
  })
}
// 编辑业务员异常
export const feedbackEdit = (data) =>{
  return request({
    url:"/yewuyichang/list",
    data,
    method: POST,
  })
}
// 删除异常反馈
export const feedbackDel = (data) =>{
  return request({
    url:"/yewuyichang/delyewuyichang",
    data,
    method: POST,
  })
}
// 所有异常类型
// export const feedbackAll = (data) =>{
//   return request({
//     url:"/yewuyichang/yichangtypelist",
//     data,
//     method: POST,
//   })
// }



